<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="../common/include/header.jsp" %>
<div width="980px">
<table style="width: 980px;" cellpadding="0" cellspacing="0">
	<tr>
		<td style="width: 180px;background: #e76969;vertical-align: top;">
			<%@ include file="./menu.jsp" %>
		</td>
		
		<html:form action="/admin" method="post">	
		<td style="width: 800px;text-align: center;padding-top: 10px;">
			<!-- 회원 -->
			<table style="width: 700px;border: 1px solid #e76969;">
			<tr><td>
			<table style="width: 600px;" cellpadding="2" cellspacing="1">
				<tr>
					<td style="background: #e76969; color: white;font-weight: bold;height: 20px;">회원관리</td>
				</tr>
				<tr>
					<td style="color: #e76969;text-align: left;">※ MYITEA 가입자정보</td></tr>
				<tr>
					<table style="width: 600px;border: 1px solid #e76969;" cellpadding="2" cellspacing="1">
						
						<tr style="background: #e76969;color: white;">
							<td>아이디</td>
							<td>이름</td>
							<td>메일</td>
							<td>가입일</td>
							<td>자기소개</td>
						</tr>
						
					<logic:iterate id="userinfo" name="adminActionForm" property="list" type="model.Member">
						<tr>
							<td class="adminTd1" style="width: 85px;">
								<a href="javascript:;" onmousedown="popmenu1('<bean:write name="userinfo" property="mid"/>');" >
									<bean:write name="userinfo" property="mid" /></a></td>
							<td class="adminTd1" style="width: 85px;"><bean:write name="userinfo" property="mname" /></td>
							<td class="adminTd1" style="width: 160px;"><bean:write name="userinfo" property="memail" /></td>
							<td class="adminTd1" style="width: 110px;"><bean:write name="userinfo" property="mregdate" /></td>
							<td class="adminTd1" style="width: 160px;">
								<logic:notEqual value="" name="userinfo" property="mintro">
									<bean:write name="userinfo" property="mintro" />
								</logic:notEqual>
								<logic:equal value="" name="userinfo" property="mintro">blank</logic:equal>
							</td>
						</tr>
					</logic:iterate>
					<!-- 페이징 -->
						<tr>
							<td colspan="5">
								<jsp:include page="../board/pager.jsp">
									<jsp:param name="url" value="admin.do"/>
								</jsp:include>
							</td>
						</tr>
					</table>
				</tr>
				<tr>
					<td>현재 가입자의 정보검색 및 정보변경은 
					<html:link page="/custom.do?method=init" module="/admin" style="color: #e76969;">[바로가기]</html:link>
					</td>
				</tr>
			</table>
<div style="height: 10px;"></div>
			<!-- 커뮤니티 -->
			<table style="width: 700px;border: 1px solid #e76969;"><tr><td>
			<table style="width: 600px;">
				<tr>
					<td style="background: #e76969;color: white;font-weight: bold;height: 20px;">커뮤니티관리</td>					
				</tr>
				<tr>
					<td>
						현재 <span style="color: #e76969;"><bean:write name="adminActionForm" property="holdCommCount" /></span> 개의 커뮤니티가 대기하고 있습니다.
					</td>
				</tr>
				<tr>
					<td>커뮤니티의 정보검색 및 대기 갱신은 
					<html:link page="/community.do?method=init" module="/admin" style="color: #e76969;">[바로가기]</html:link>
					</td>
				</tr>				
			</table>
			</td></tr></table>

<div style="height: 10px;"></div>			
			<!-- 게시판 -->
			<table style="width: 700px;border: 1px solid #e76969;"><tr><td>
			<table style="width: 600px;">
				<tr>
					<td style="background: #e76969;height: 20px;color: white;font-weight: bold;">게시물관리</td>
					
				</tr>
				<tr>
					<td style="text-align: center;">
					<!--게시판 기본 정보-->
				  	<TABLE style="width: 600px;border: 1px solid #e76969;" cellpadding="2" cellspacing="1">

					  <TR style="color: white;">
						<TD style="width: 300px;background: #e76969;">총게시물</TD>
						<TD style="width: 300px;background: #e76969;"><bean:write name="adminActionForm" property="allBoardCount"/>건</TD>
					  </TR>
					  <TR>
						<TD class="adminTd1">→공지게시판</TD>
						<TD class="adminTd1"><bean:write name="adminActionForm" property="noticeCount"/>건</TD>
					  </TR>
					  <TR>
						<TD class="adminTd1">→자유게시판</TD>
						<TD class="adminTd1"><bean:write name="adminActionForm" property="freeCount"/>건</TD>
					  </TR>
					  <TR>
						<TD class="adminTd1">→Q&A게시판</TD>
						<TD class="adminTd1"><bean:write name="adminActionForm" property="qnaCount"/>건</TD>
					  </TR>
					  <TR>
						<TD class="adminTd1">→자료게시판</TD>
						<TD class="adminTd1"><bean:write name="adminActionForm" property="dataCount"/>건</TD>
					  </TR>
					  <TR>
						<TD class="adminTd1">→앨범게시판</TD>
						<TD class="adminTd1"><bean:write name="adminActionForm" property="photoCount"/>건</TD>
					  </TR>
					</TABLE>
					</td>
				</tr>
				<tr>
					<td>게시판의 게시물 이용률 및 게시판 삭제는 
					<html:link page="/modifyboard.do?method=init" module="/admin" style="color: #e76969;">[바로가기]</html:link></td>
				</tr>
			</table>
			</td></tr></table>
			<div style="height: 10px;"></div>

		</td>
	</html:form>
	</tr>
</table>

</div>
<%@ include file="../common/include/footer.jsp" %>